package com.mali.malibackendproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mali.backendcommon.common.Result;
import com.mali.malibackendmodel.dto.BuyWayDTO;
import com.mali.malibackendmodel.dto.SellProductDTO;
import com.mali.malibackendmodel.dto.TopProductsDTO;
import com.mali.malibackendmodel.pojo.Orders;

import java.time.LocalDate;
import java.util.List;

/**
 * @Author:吴键霏
 * @Date：2024/6/17 22:41
 * @Version 1.0
 */
public interface OrdersService extends IService<Orders>{
    Result<List<SellProductDTO>> getProductExchange( LocalDate beginTime, LocalDate endTime);

    Result<List<TopProductsDTO>> productsTop(LocalDate beginTime, LocalDate endTime);

    Result<List<BuyWayDTO>> buyWay(LocalDate beginTime, LocalDate endTime);


}
